package com.test.testauth.service.impl;

import com.test.testauth.Vo.AjaxResult;
import com.test.testauth.Vo.InstructDTO;
import com.test.testauth.Vo.InstructParam;
import com.test.testauth.enums.VisualizationMethod;
import com.test.testauth.service.SpecificService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @author ：wang qiang
 * @date ：Created 2024/8/1 16:15
 * @description：机巢与无人机指令具体实现
 */
@Service
public class SpecificServiceImpl implements SpecificService {
    private static final Logger log = LoggerFactory.getLogger(SpecificServiceImpl.class);

    @Override
    public void abc() {
        log.info("abc");
    }

    @Override
    public AjaxResult<InstructDTO> DJUavInstruct(InstructParam param) {
        log.info("==============info-DJUavInstruct");
        return new AjaxResult<>(VisualizationMethod.returnSuccessCode,"操作成功",new InstructDTO());
    }

    @Override
    public AjaxResult<InstructDTO> DTUavInstruct(InstructParam param) {
        log.info("==============info-DTUavInstruct");
        return new AjaxResult<>(VisualizationMethod.returnSuccessCode,"操作成功",new InstructDTO());
    }

    @Override
    public AjaxResult<InstructDTO> UAV4GUavInstruct(InstructParam param) {
        log.info("==============info-UAV4GUavInstruct");
        return new AjaxResult<>(VisualizationMethod.returnSuccessCode,"操作成功",new InstructDTO());
    }

    @Override
    public AjaxResult<InstructDTO> UAVNo4GUavInstruct(InstructParam param) {
        log.info("==============info-UAVNo4GUavInstruct");
        return new AjaxResult<>(VisualizationMethod.returnSuccessCode,"操作成功",new InstructDTO());
    }

    @Override
    public AjaxResult<InstructDTO> NestAInstruct(InstructParam param) {
        log.info("==============info-NestAInstruct");
        return new AjaxResult<>(VisualizationMethod.returnSuccessCode,"操作成功",new InstructDTO());
    }

    @Override
    public AjaxResult<InstructDTO> NestBInstruct(InstructParam param) {
        log.info("==============info-NestBInstruct");
        return new AjaxResult<>(VisualizationMethod.returnSuccessCode,"操作成功",new InstructDTO());
    }
}
